package com.poh.mapper;

import com.poh.pojo.AnswerQuestion;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

@Mapper
@Repository
public interface AnswerQuestionMapper {

    int addAnswerQuestion(AnswerQuestion answerQuestion);
    List<AnswerQuestion> queryAnswerQuestionByQuestionBankId(@Param("questionBankId") String questionBankId);
    int deleteAnswerQuestionById(@Param("answerQuestionId") int answerQuestionId);
    int updateAnswerQuestion(AnswerQuestion answerQuestion);
}
